#ifndef BTN_IMPL_H
#define BTN_IMPL_H

#include "winBtn.h"

#define REGBUTTON(classname) \
class classname : \
	public winBtn \
{ \
public: \
virtual int OnButtonClick(); \
virtual int getShape(shape* sp); \
};

REGBUTTON(buildPoint)
REGBUTTON(buildAndPoint)
REGBUTTON(buildOrPoint)
REGBUTTON(buildNotPoint)
REGBUTTON(drag)
REGBUTTON(link)
REGBUTTON(delPoint)
REGBUTTON(setVal)
REGBUTTON(run)
#endif